import request from '@/utils/request'


/** 获取项目列表 */
export function getProjectDetail(params) {
  return request({
    url: '/em-form/accountApply/selectAllHead',
    method: 'get',
    params: {
      ...params
    }
  })
}

/** 获取子项目列表 */
export function getSubProjectDetail(params) {
  return request({
    url: '/em-form/accountApply/selectAccountByCode',
    method: 'get',
    params: {
      ...params
    }
  })
}